.video-analysis {
  min-height: 100vh;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  position: relative;
  overflow: hidden;
}

.video-analysis::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.2) 0%, transparent 50%);
  pointer-events: none;
}

/* 页面头部样式 */
.page-header {
  position: relative;
  z-index: 1;
  padding: 40px 24px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: white;
  box-shadow: 0 8px 32px rgba(255, 107, 107, 0.3);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 8px 32px rgba(255, 107, 107, 0.3);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 12px 40px rgba(255, 107, 107, 0.4);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 8px 32px rgba(255, 107, 107, 0.3);
  }
}

.header-actions {
  display: flex;
  gap: 12px;
}

/* 页面内容样式 */
.page-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px;
}

/* 统计卡片样式 */
.stat-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.stat-card:hover::before {
  left: 100%;
}

.stat-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.stat-card .ant-card-body {
  padding: 24px;
}

/* 内容卡片样式 */
.content-card {
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  transition: all 0.3s ease;
  overflow: hidden;
}

.content-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.content-card .ant-card-head {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px 16px 0 0;
}

.content-card .ant-card-head-title {
  font-weight: 600;
  color: #2c3e50 !important;
}

.content-card .ant-card-head-title span {
  color: #2c3e50 !important;
}

.content-card .ant-card-head-title .anticon {
  color: inherit !important;
}

.content-card .ant-card-body {
  padding: 24px;
}

/* 标签容器样式 */
.tags-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px 0;
}

.trending-tag {
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.trending-tag:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.trending-tag.top-tag {
  animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
  from {
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.3);
  }
  to {
    box-shadow: 0 4px 16px rgba(255, 107, 107, 0.6);
  }
}

/* 图表容器样式 */
.chart-container {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #f8f9fa;
  padding: 8px;
}

.chart-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
  pointer-events: none;
}

/* 现代化表格样式 */
.modern-table {
  border-radius: 12px;
  overflow: hidden;
}

.modern-table .ant-table-thead > tr > th {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  font-weight: 600;
  border: none;
  padding: 16px;
  height: 60px;
}

.modern-table .ant-table-tbody > tr {
  transition: all 0.3s ease;
  height: auto;
  min-height: 80px;
}

.modern-table .ant-table-tbody > tr:hover {
  background: linear-gradient(135deg, #f8f9ff 0%, #f0f2ff 100%);
  transform: scale(1.01);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.table-row-light {
  background: rgba(255, 255, 255, 0.8);
}

.table-row-dark {
  background: rgba(248, 249, 250, 0.8);
}

.modern-table .ant-table-tbody > tr > td {
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  padding: 20px 16px;
  vertical-align: middle;
  min-height: 80px;
}

/* 视频信息列样式优化 */
.modern-table .ant-table-tbody > tr > td:first-child {
  padding: 16px;
}

/* 数据表现列样式优化 */
.modern-table .ant-table-tbody > tr > td:nth-child(2) {
  padding: 12px 16px;
}

/* 分区时间列样式优化 */
.modern-table .ant-table-tbody > tr > td:last-child {
  padding: 16px;
}

.modern-table .ant-pagination {
  margin-top: 24px;
  text-align: center;
}

.modern-table .ant-pagination .ant-pagination-item {
  border-radius: 8px;
  border: 1px solid #d9d9d9;
  transition: all 0.3s ease;
}

.modern-table .ant-pagination .ant-pagination-item:hover {
  border-color: #667eea;
  transform: translateY(-1px);
}

.modern-table .ant-pagination .ant-pagination-item-active {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-color: #667eea;
}

.modern-table .ant-pagination .ant-pagination-item-active a {
  color: white;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .page-header {
    padding: 24px 16px;
  }
  
  .header-content {
    flex-direction: column;
    text-align: center;
  }
  
  .header-left {
    flex-direction: column;
    text-align: center;
  }
  
  .header-icon {
    width: 48px;
    height: 48px;
    font-size: 20px;
  }
  
  .page-content {
    padding: 24px 16px;
  }
  
  .content-card .ant-card-body {
    padding: 16px;
  }
  
  .tags-container {
    justify-content: center;
  }
  
  .header-actions {
    width: 100%;
    justify-content: center;
  }
  
  .header-actions .ant-btn {
    flex: 1;
    max-width: 200px;
  }
}

@media (max-width: 480px) {
  .modern-table .ant-table-tbody > tr > td {
    padding: 12px 8px;
    font-size: 12px;
  }
  
  .trending-tag {
    font-size: 11px !important;
    padding: 4px 12px !important;
  }
  
  .stat-card .ant-card-body {
    padding: 16px;
  }
}

/* 加载动画 */
.ant-spin-container {
  transition: all 0.3s ease;
}

.ant-spin-blur {
  filter: blur(2px);
  opacity: 0.7;
}

/* 自定义滚动条 */
.tags-container::-webkit-scrollbar,
.chart-container::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.tags-container::-webkit-scrollbar-track,
.chart-container::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 3px;
}

.tags-container::-webkit-scrollbar-thumb,
.chart-container::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 3px;
}

.tags-container::-webkit-scrollbar-thumb:hover,
.chart-container::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.5);
}

/* 按钮悬停效果 */
.ant-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Badge 样式优化 */
.ant-badge-count {
  background: linear-gradient(135deg, #52c41a 0%, #389e0d 100%);
  box-shadow: 0 2px 8px rgba(82, 196, 26, 0.3);
}

/* 图标动画 */
.anticon {
  transition: all 0.3s ease;
}

.anticon:hover {
  transform: scale(1.1);
}

/* 卡片标题图标 */
.ant-card-head-title .anticon {
  margin-right: 8px;
  font-size: 16px;
}

/* 空状态样式 */
.ant-empty {
  padding: 40px 20px;
}

.ant-empty .ant-empty-image {
  margin-bottom: 16px;
}

/* 工具提示样式 */
.ant-tooltip-inner {
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  border-radius: 8px;
}

/* 进度条样式 */
.ant-progress-line .ant-progress-bg {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* 分割线样式 */
.ant-divider-vertical {
  border-left-color: rgba(0, 0, 0, 0.1);
}

/* 文本选择样式 */
::selection {
  background: rgba(102, 126, 234, 0.3);
  color: inherit;
}

/* 数据表现小卡片样式 */
.performance-card {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 12px;
  border: 1px solid;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  justify-content: center;
}

.performance-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.performance-card-views {
  background: linear-gradient(135deg, #e6f7ff 0%, #f0f9ff 100%);
  border-color: #91d5ff;
}

.performance-card-views:hover {
  background: linear-gradient(135deg, #bae7ff 0%, #e6f7ff 100%);
  border-color: #40a9ff;
}

.performance-card-likes {
  background: linear-gradient(135deg, #fff2e8 0%, #fff7f0 100%);
  border-color: #ffbb96;
}

.performance-card-likes:hover {
  background: linear-gradient(135deg, #ffd8bf 0%, #fff2e8 100%);
  border-color: #ff7a45;
}

.performance-card-coins {
  background: linear-gradient(135deg, #fffbe6 0%, #fffef0 100%);
  border-color: #ffe58f;
}

.performance-card-coins:hover {
  background: linear-gradient(135deg, #fff1b8 0%, #fffbe6 100%);
  border-color: #ffc53d;
}

.performance-card-shares {
  background: linear-gradient(135deg, #f6ffed 0%, #fcffe6 100%);
  border-color: #b7eb8f;
}

.performance-card-shares:hover {
  background: linear-gradient(135deg, #d9f7be 0%, #f6ffed 100%);
  border-color: #73d13d;
} 